export default {
  path: "/product",
  redirect: "/product/list",
  meta: {
    icon: "ri:information-line",
    // showLink: false,
    title: "产品管理",
    rank: 10
  },
  children: [
    {
      path: "/product/list",
      name: "productList",
      component: () => import("@/views/product/index.vue"),
      meta: {
        title: "产品列表"
      }
    },
    {
      path: "/product/add",
      name: "productAdd",
      component: () => import("@/views/product/add.vue"),
      meta: {
        title: "添加产品",
        showLink: false
      }
    },
    {
      path: "/product/update",
      name: "productUpdate",
      component: () => import("@/views/product/update.vue"),
      meta: {
        title: "修改产品",
        showLink: false
      }
    },
    {
      path: "/product/dic",
      name: "productDic",
      component: () => import("@/views/product/dic.vue"),
      meta: {
        title: "产品字典"
      }
    },
    {
      path: "/product/dicType",
      name: "productDicType",
      component: () => import("@/views/product/dic/dicType.vue"),
      meta: {
        title: "产品字典分类"
      }
    },
    {
      path: "/product/category",
      name: "productCategory",
      component: () => import("@/views/product/productCategory.vue"),
      meta: {
        title: "产品分类"
      }
    }
  ]
} satisfies RouteConfigsTable;
